package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.EsStockInventory;

/**
 * 库存盘点单(es_stock_inventory)Service接口
 *
 * @author ruoyi
 * @date 2025-03-07
 */
public interface IEsStockInventoryService
{
    /**
     * 查询库存盘点单(es_stock_inventory)
     *
     * @param id 库存盘点单(es_stock_inventory)主键
     * @return 库存盘点单(es_stock_inventory)
     */
    public EsStockInventory selectEsStockInventoryById(Long id);

    /**
     * 查询库存盘点单(es_stock_inventory)列表
     *
     * @param esStockInventory 库存盘点单(es_stock_inventory)
     * @return 库存盘点单(es_stock_inventory)集合
     */
    List<EsStockInventory> selectEsStockInventoryList(EsStockInventory esStockInventory);

    /**
     * 新增库存盘点单(es_stock_inventory)
     *
     * @param esStockInventory 库存盘点单(es_stock_inventory)
     * @return 结果
     */
    public int insertEsStockInventory(EsStockInventory esStockInventory);

    /**
     * 修改库存盘点单(es_stock_inventory)
     *
     * @param esStockInventory 库存盘点单(es_stock_inventory)
     * @return 结果
     */
    public int updateEsStockInventory(EsStockInventory esStockInventory);

    /**
     * 批量删除库存盘点单(es_stock_inventory)
     *
     * @param ids 需要删除的库存盘点单(es_stock_inventory)主键集合
     * @return 结果
     */
    public int deleteEsStockInventoryByIds(Long[] ids);

    /**
     * 删除库存盘点单(es_stock_inventory)信息
     *
     * @param id 库存盘点单(es_stock_inventory)主键
     * @return 结果
     */
    public int deleteEsStockInventoryById(Long id);

    /**
     * 审核库存盘点单
     *
     * @param id 库存盘点单ID
     * @return 结果
     */
    public int auditInventoryById(Long id);
}
